<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class User
 * 
 * @property int $id
 * @property string|null $nickname
 * @property string|null $avatar
 * @property string|null $account
 * @property string|null $email
 * @property string|null $password
 * @property string|null $token
 * @property string|null $time
 * @property Carbon|null $created_at
 * @property Carbon|null $updated_at
 *
 * @package App\Models
 */
class User extends Model
{
	protected $table = 'user';

	protected $hidden = [
		'password',
		'token'
	];

	protected $fillable = [
		'nickname',
		'avatar',
		'account',
		'email',
		'password',
		'token',
		'time'
	];
}
